﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="detalleHabitacion.aspx.cs" Inherits="SisHotel.detalleHabitacion" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <style type="text/css">
        .auto-style1 {
            width: 289px;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- Start: Product description -->
    <article class="article">
        <div class="page-header">
            <h1>Detalle De Reserva</h1>
        </div>
        <div class="row">
            <div class="span10 offset1">
                <h4 class="widget-header">Datos Personales
                </h4>
                <%--                <div class="widget-body">--%>
                <div class="widget-body">
                    <br />
                    <table align="center" width="80%">
                        <tbody>
                            <tr>
                                <td class="auto-style1"><strong>Nombre:</strong>
                                    <asp:Label ID="lblNombre" runat="server"></asp:Label><br />
                                    <br />
                                </td>
                                <td>
                                    <strong>Nacionalidad: </strong>
                                    <asp:Label ID="lblNacionalidad" runat="server"></asp:Label>
                                    <br />
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <strong>Apellidos: </strong>
                                    <asp:Label ID="lblApellidos" runat="server"></asp:Label><br />
                                    <br />
                                </td>
                                <td class="auto-style1">
                                    <strong>Correo: </strong>
                                    <asp:Label ID="lblCorreo" runat="server"></asp:Label><br />
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1"><strong>Nro. Documento: </strong>
                                    <asp:Label ID="lblNroDocumento" runat="server"></asp:Label>
                                    <br />
                                    <br />
                                </td>
                                <td>
                                    <strong>Teléfono</strong>
                                    <asp:Label ID="lblTelefono" runat="server"></asp:Label><br />
                                    <br />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <hr />
                    <table align="center" width="80%">
                        <tbody>
                            <tr>
                                <td>
                                    <strong>Habitaciones Reservadas</strong></h4><br />
                                </td>
                            </tr>
                        </tbody>
                        
                    </table>
                    <asp:GridView ID="gvHabReservadas" runat="server" Width="80%" AutoGenerateColumns="False" align="center">
                        <Columns>
                            <asp:BoundField HeaderText="N°" DataField="Nro" />
                            <asp:BoundField HeaderText="Fecha Ingreso" DataField="FechaIngreso" />
                            <asp:BoundField HeaderText="Fecha Salida" DataField="FechaSalida" />
                            <asp:BoundField HeaderText="Habitacion" DataField="NroHabitacion" />
                            <asp:BoundField HeaderText="Tipo" DataField="NombreTipoHab" />
                            <asp:BoundField DataField="NroNoches" HeaderText="Nro Noches" />
                            <asp:BoundField HeaderText="Costo x Noche" DataField="Precio" />
                        </Columns>
                    </asp:GridView>
                    <br />
                    <div align="right" style="width: 90%;">
                        <label>
                            <strong>Sub-Total: </strong>
                            <asp:Label ID="lblSubTotal" runat="server"></asp:Label></label>
                        <label>
                            <strong>Total: </strong>
                            <asp:Label ID="lblTotal" runat="server"></asp:Label></label>
                    </div>
                </div>
                <br />
                <div align="center">
                <asp:Button ID="btnReservar" runat="server" Text="Continuar &gt;&gt;" class="btn btn-large btn-primary" Width="30%" OnClick="btnReservar_Click"></asp:Button></div>
            </div>
        </div>
        <div class="row">
            <div class="span10 offset1">
                <%--                <hr />--%>
<%--                <div class="span5">
                  <p>
                        Listo para continuar?
                    </p>
                    <asp:Button ID="btnReservar" runat="server" Text="Reservar" class="btn btn-large btn-primary" Width="100%"></asp:Button>
                </div>--%>
<%--                <div class="span4">
                    <p>
                        Confundido?
                    </p>
                    <asp:Button ID="btnContacto" runat="server" Text="Contactenos" class="btn btn-large btn-block"></asp:Button>
                </div>--%>
            </div>
        </div>
    </article>
    <!-- End: Product description -->
</asp:Content>
